<include file="api:public:header" />

<div class="container">
    <h4 class="webview-title">{$main.storeName}促销活动详情</h4>
	
	<div class="row">
		<div class="col-xs-12 webview-border" >
			<div class="row">
				<div class="col-xs-4" ><strong>活动主题:</strong></div>
				<div class="col-xs-8 webview-left-border" >{$main.theme}</div>
			</div>
		</div>
		
		<div class="col-xs-12 webview-border" >
			<div class="row">
				<div class="col-xs-4 " ><strong>活动时间：</strong></div>
				<div class="col-xs-8 webview-left-border" >{:date('Y年m月d日', $main['startTime'])} ~ {:date('Y年m月d日', $main['endTime'])}</div>
			</div>
		</div>
		
		<div class="col-xs-12 webview-border" >
			<div class="row">
				<div class="col-xs-4" >
					<strong>活动地点：</strong>
				</div>
				<div class="col-xs-8 webview-left-border" >
					<p>地区：{$main.region}</p>
					<p>门店：{$main.storeName}</p>
					<p>地址：{$main.address}</p>
				</div>
			</div>		
		</div>
		
		<div class="col-xs-12 webview-border" >
			<div class="row">
				<div class="col-xs-4 " ><strong>活动组织人：</strong></div>
				<div class="col-xs-8 webview-left-border" >{$main.organizer}</div>
			</div>
		</div>
		
		<div class="col-xs-12 webview-border" >
			<div class="row">
				<div class="col-xs-4 " ><strong>活动内容：</strong></div>
				<div class="col-xs-8 webview-left-border" >{$main.content}</div>
			</div>
		</div>
		<div class="col-xs-12 webview-border" >
			<div class="row">
				<div class="col-xs-4 " ><strong>临促数量：</strong> {$main.salerNum} 人次</div>
				<div class="col-xs-4 webview-left-border" ><strong>临促工资：</strong> {$main.salerPay} 元/天</div>
				<div class="col-xs-4 webview-left-border" ><strong>临促费用：</strong> {$main.salerTotalPay} 元</div>
			</div>
		</div>
		
		<p>&nbsp;</p>
		
		<div class="col-xs-12 webview-border" >
			<p class="text-center"><strong>物料：</strong></p>
		</div>
		
		<table class="table table-bordered">
			<thead>
				<tr>
					<th>项目</th>
					<th>工艺说明</th>
					<th>纸张</th>
					<th>规格</th>
					<th>单件数量</th>
					<th>单价</th>
					<th>总价</th>
					<th>使用数量</th>
					<th>使用总价</th>
				</tr>
			</thead>
			<tbody>
				<volist name="materials" id="m">
					<tr>
						<td>{$m.materialsProject}</td>
						<td>{$m.materialsTech}</td>
						<td>{$m.materialsPlpe}</td>
						<td>{$m.materialsGg}</td>
						<td>{$m.materialsSignNum}</td>
						<td>{$m.materialsSign}</td>
						<td>{$m.materialsCountMoney}</td>
						<td>{$m.materialsUseNum}</td>
						<td>{$m.materialsUsePrice}</td>
					</tr>
				</volist>
			</tbody>
		</table>

		<p>&nbsp;</p>
		
		<div class="col-xs-12 webview-border" >
			<p class="text-center"><strong>礼品：</strong></p>
		</div>

		<table class="table table-bordered">
			<thead>
				<tr>
					<th>礼品名称</th>
					<th>单件数量</th>
					<th>单价</th>
					<th>总价</th>
					<th>使用数量</th>
					<th>使用总价</th>
				</tr>
			</thead>
			<tbody>
				<volist name="gift" id="g">
					<tr>
						<td>{$g.giftName}</td>
						<td>{$g.giftSignNum}</td>
						<td>{$g.giftSign}</td>
						<td>{$g.giftCountMoney}</td>
						<td>{$g.giftUseNum}</td>
						<td>{$g.giftUsePrice}</td>
					</tr>
				</volist>
			</tbody>
		</table>


		<p>&nbsp;</p>
		<div class="container">
				<input type="hidden" name="id" value="{$main.id}" />
				<div class="form-group">
					<label for="budget">活动预算（元）：</label>
					<input type="text" name="budget" id="budget" class="form-control" value="{$main.budget}" placeholder="0" disabled="">
				</div>
				<div class="form-group">
					<label for="cost">活动实际开销（元）：</label>
					<input type="text" name="cost" id="cost" class="form-control" value="{$main.cost}" placeholder="0" disabled="">
				</div>
				<div class="form-group">
					<label for="forecastingSales">预计销售台数：</label>
					<input type="text" name="forecastingSales" id="forecastingSales" value="{$main.forecastingSales}" class="form-control" placeholder="0" disabled="">
				</div>
				<div class="form-group">
					<label for="actualSales">实际销售台数：</label>
					<input type="text" name="actualSales" id="actualSales"  value="{$main.actualSales}" class="form-control" placeholder="0" disabled="">
				</div>
				<div class="form-group">
					<label for="forecastingRatio">费用投入产出比预计：</label>
					<input type="text" name="forecastingRatio" id="forecastingRatio" value="{$main.forecastingRatio}" class="form-control" placeholder="0.00%" disabled="">
				</div>
				<div class="form-group">
					<label for="actualRatio">实际费用投入产出比：</label>
					<input type="text" name="actualRatio" id="actualRatio" value="{$main.actualRatio}" class="form-control" placeholder="0.00%" disabled="">
				</div>

		</div>
	</div>
</div>

<include file="api:public:footer" />